﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200026F RID: 623
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueNousEnableRogueTalentScRsp : IMessage<ChessRogueNousEnableRogueTalentScRsp>, IMessage, IEquatable<ChessRogueNousEnableRogueTalentScRsp>, IDeepCloneable<ChessRogueNousEnableRogueTalentScRsp>, IBufferMessage
	{
		// Token: 0x17000831 RID: 2097
		// (get) Token: 0x06001C0A RID: 7178 RVA: 0x00050893 File Offset: 0x0004EA93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueNousEnableRogueTalentScRsp> Parser
		{
			get
			{
				return ChessRogueNousEnableRogueTalentScRsp._parser;
			}
		}

		// Token: 0x17000832 RID: 2098
		// (get) Token: 0x06001C0B RID: 7179 RVA: 0x0005089A File Offset: 0x0004EA9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueNousEnableRogueTalentScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000833 RID: 2099
		// (get) Token: 0x06001C0C RID: 7180 RVA: 0x000508AC File Offset: 0x0004EAAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueNousEnableRogueTalentScRsp.Descriptor;
			}
		}

		// Token: 0x06001C0D RID: 7181 RVA: 0x000508B3 File Offset: 0x0004EAB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousEnableRogueTalentScRsp()
		{
		}

		// Token: 0x06001C0E RID: 7182 RVA: 0x000508BC File Offset: 0x0004EABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousEnableRogueTalentScRsp(ChessRogueNousEnableRogueTalentScRsp other) : this()
		{
			this.talentInfoList_ = ((other.talentInfoList_ != null) ? other.talentInfoList_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.oPDOFKEDNIG_ = other.oPDOFKEDNIG_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001C0F RID: 7183 RVA: 0x00050914 File Offset: 0x0004EB14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousEnableRogueTalentScRsp Clone()
		{
			return new ChessRogueNousEnableRogueTalentScRsp(this);
		}

		// Token: 0x17000834 RID: 2100
		// (get) Token: 0x06001C10 RID: 7184 RVA: 0x0005091C File Offset: 0x0004EB1C
		// (set) Token: 0x06001C11 RID: 7185 RVA: 0x00050924 File Offset: 0x0004EB24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTalentInfoList TalentInfoList
		{
			get
			{
				return this.talentInfoList_;
			}
			set
			{
				this.talentInfoList_ = value;
			}
		}

		// Token: 0x17000835 RID: 2101
		// (get) Token: 0x06001C12 RID: 7186 RVA: 0x0005092D File Offset: 0x0004EB2D
		// (set) Token: 0x06001C13 RID: 7187 RVA: 0x00050935 File Offset: 0x0004EB35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000836 RID: 2102
		// (get) Token: 0x06001C14 RID: 7188 RVA: 0x0005093E File Offset: 0x0004EB3E
		// (set) Token: 0x06001C15 RID: 7189 RVA: 0x00050946 File Offset: 0x0004EB46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OPDOFKEDNIG
		{
			get
			{
				return this.oPDOFKEDNIG_;
			}
			set
			{
				this.oPDOFKEDNIG_ = value;
			}
		}

		// Token: 0x06001C16 RID: 7190 RVA: 0x0005094F File Offset: 0x0004EB4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueNousEnableRogueTalentScRsp);
		}

		// Token: 0x06001C17 RID: 7191 RVA: 0x00050960 File Offset: 0x0004EB60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueNousEnableRogueTalentScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.TalentInfoList, other.TalentInfoList) && this.Retcode == other.Retcode && this.OPDOFKEDNIG == other.OPDOFKEDNIG && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001C18 RID: 7192 RVA: 0x000509C0 File Offset: 0x0004EBC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.talentInfoList_ != null)
			{
				num ^= this.TalentInfoList.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.OPDOFKEDNIG != 0U)
			{
				num ^= this.OPDOFKEDNIG.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001C19 RID: 7193 RVA: 0x00050A2E File Offset: 0x0004EC2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001C1A RID: 7194 RVA: 0x00050A36 File Offset: 0x0004EC36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001C1B RID: 7195 RVA: 0x00050A40 File Offset: 0x0004EC40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.talentInfoList_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.TalentInfoList);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this.OPDOFKEDNIG != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.OPDOFKEDNIG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001C1C RID: 7196 RVA: 0x00050AB8 File Offset: 0x0004ECB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.talentInfoList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TalentInfoList);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.OPDOFKEDNIG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OPDOFKEDNIG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001C1D RID: 7197 RVA: 0x00050B28 File Offset: 0x0004ED28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueNousEnableRogueTalentScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.talentInfoList_ != null)
			{
				if (this.talentInfoList_ == null)
				{
					this.TalentInfoList = new RogueTalentInfoList();
				}
				this.TalentInfoList.MergeFrom(other.TalentInfoList);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.OPDOFKEDNIG != 0U)
			{
				this.OPDOFKEDNIG = other.OPDOFKEDNIG;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001C1E RID: 7198 RVA: 0x00050BA4 File Offset: 0x0004EDA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001C1F RID: 7199 RVA: 0x00050BB0 File Offset: 0x0004EDB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 48U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.OPDOFKEDNIG = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.talentInfoList_ == null)
					{
						this.TalentInfoList = new RogueTalentInfoList();
					}
					input.ReadMessage(this.TalentInfoList);
				}
			}
		}

		// Token: 0x04000BAD RID: 2989
		private static readonly MessageParser<ChessRogueNousEnableRogueTalentScRsp> _parser = new MessageParser<ChessRogueNousEnableRogueTalentScRsp>(() => new ChessRogueNousEnableRogueTalentScRsp());

		// Token: 0x04000BAE RID: 2990
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000BAF RID: 2991
		public const int TalentInfoListFieldNumber = 1;

		// Token: 0x04000BB0 RID: 2992
		private RogueTalentInfoList talentInfoList_;

		// Token: 0x04000BB1 RID: 2993
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04000BB2 RID: 2994
		private uint retcode_;

		// Token: 0x04000BB3 RID: 2995
		public const int OPDOFKEDNIGFieldNumber = 13;

		// Token: 0x04000BB4 RID: 2996
		private uint oPDOFKEDNIG_;
	}
}
